//
//  ContentView.swift
//  Share
//
//  Created by MBA on 2020/10/4.
//  Copyright © 2020 MBA. All rights reserved.
//

import SwiftUI

struct ContentView: View {
    var body: some View {
        
        TabView {
            ShareList().tabItem {
                Image(systemName: "house")
                Text("首页")
            }
            PreTransactionPage().tabItem {
                Image(systemName: "bell")
                Text("预交易")
            }
            ArchiveSharesPage().tabItem {
                Image(systemName: "heart")
                Text("持仓")
            }
            
            SettingView().tabItem {
                Image(systemName: "gearshape")
                Text("设置")
            }
            
         
        }
    }
    
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}
